package com.fas.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * 设施类型对象 fas_facilities_type
 *
 * @date 2022-06-30
 */
@ApiModel(value = "设施类型对象")
public class FasFacilitiesType implements Serializable {

    /** 设施类型编号 */
    @ApiModelProperty(value = "设施类型编号")
    private Integer id; //设施类型编号

    /** 设施类型 */
    @ApiModelProperty(value = "设施类型")
    private String facilityName;

    /** 是否启用(0: 启用，1：未启用) */
    @ApiModelProperty(value = "是否启用(0: 启用，1：未启用)")
    private String delFlag;

    private String manufacturerName;//厂商名字
    private String brand;//品牌
    private String model;//型号
    private Integer checkCycle;//检查周期（月检：1，季检：3，年检：12）

    // 非表字段
    @ApiModelProperty(value = "规格数量")
    private int spec_num;

    @ApiModelProperty(value = "检查项数量")
    private int inspect_num;

    @ApiModelProperty(value = "检测项数量")
    private int check_num;

    /** 数据项列表*/
    @JsonIgnore
    private List<FasFacilitiesTypeDataItem> fasFacilitiesTypeDataItemList;

    /** 规格列表*/
    @JsonIgnore
    private List<FasFacilitiesTypeSpec> fasFacilitiesTypeSpecList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFacilityName() {
        return facilityName;
    }

    public void setFacilityName(String facilityName) {
        this.facilityName = facilityName;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public List<FasFacilitiesTypeDataItem> getFasFacilitiesTypeDataItemList() {
        return fasFacilitiesTypeDataItemList;
    }

    public void setFasFacilitiesTypeDataItemList(List<FasFacilitiesTypeDataItem> fasFacilitiesTypeDataItemList) {
        this.fasFacilitiesTypeDataItemList = fasFacilitiesTypeDataItemList;
    }

    public List<FasFacilitiesTypeSpec> getFasFacilitiesTypeSpecList() {
        return fasFacilitiesTypeSpecList;
    }

    public void setFasFacilitiesTypeSpecList(List<FasFacilitiesTypeSpec> fasFacilitiesTypeSpecList) {
        this.fasFacilitiesTypeSpecList = fasFacilitiesTypeSpecList;
    }

    public int getSpec_num() {
        return spec_num;
    }

    public void setSpec_num(int spec_num) {
        this.spec_num = spec_num;
    }

    public int getInspect_num() {
        return inspect_num;
    }

    public void setInspect_num(int inspect_num) {
        this.inspect_num = inspect_num;
    }

    public int getCheck_num() {
        return check_num;
    }

    public void setCheck_num(int check_num) {
        this.check_num = check_num;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getCheckCycle() {
        return checkCycle;
    }

    public void setCheckCycle(Integer checkCycle) {
        this.checkCycle = checkCycle;
    }
}
